package com.tboss.am.dto;

public class ResourceCollectorDto {
	private String collectionTime;
	private int svrNum;
	private float cpuRate;
	private float memRate;
	private float hddRate;
	private String alarmCpu;
	private String alarmMem;
	private String alarmHdd;
		
	public ResourceCollectorDto () {}

	public ResourceCollectorDto(String collectionTime, int svrNum,
			float cpuRate, float memRate, float hddRate, String alarmCpu,
			String alarmMem, String alarmHdd) {
		this.collectionTime = collectionTime;
		this.svrNum = svrNum;
		this.cpuRate = cpuRate;
		this.memRate = memRate;
		this.hddRate = hddRate;
		this.alarmCpu = alarmCpu;
		this.alarmMem = alarmMem;
		this.alarmHdd = alarmHdd;
	}

	public String getCollectionTime() {
		return collectionTime;
	}

	public void setCollectionTime(String collectionTime) {
		this.collectionTime = collectionTime;
	}

	public int getSvrNum() {
		return svrNum;
	}

	public void setSvrNum(int svrNum) {
		this.svrNum = svrNum;
	}

	public float getCpuRate() {
		return cpuRate;
	}

	public void setCpuRate(float cpuRate) {
		this.cpuRate = cpuRate;
	}

	public float getMemRate() {
		return memRate;
	}

	public void setMemRate(float memRate) {
		this.memRate = memRate;
	}

	public float getHddRate() {
		return hddRate;
	}

	public void setHddRate(float hddRate) {
		this.hddRate = hddRate;
	}

	public String getAlarmCpu() {
		return alarmCpu;
	}

	public void setAlarmCpu(String alarmCpu) {
		this.alarmCpu = alarmCpu;
	}

	public String getAlarmMem() {
		return alarmMem;
	}

	public void setAlarmMem(String alarmMem) {
		this.alarmMem = alarmMem;
	}

	public String getAlarmHdd() {
		return alarmHdd;
	}

	public void setAlarmHdd(String alarmHdd) {
		this.alarmHdd = alarmHdd;
	}

	@Override
	public String toString() {
		return "ResourceCollectorDto [collectionTime=" + collectionTime
				+ ", svrNum=" + svrNum + ", cpuRate=" + cpuRate + ", memRate="
				+ memRate + ", hddRate=" + hddRate + ", alarmCpu=" + alarmCpu
				+ ", alarmMem=" + alarmMem + ", alarmHdd=" + alarmHdd + "]";
	}

		
}
